// import Dysmsapi from "@alicloud/dysmsapi20170525";
// import * as $OpenApi from "@alicloud/openapi-client";
// import { Application } from "egg";
// const ALCLIENT = Symbol("Application#ALClient");
export default {
  // get ALClient(): Dysmsapi {
  //   const that = this as Application;
  //   const { accessKeyId, accessKeySecret, endpoint } =
  //     that.config.aliCloudConfig;
  //   if (!this[ALCLIENT]) {
  //     const config = new $OpenApi.Config({
  //       accessKeyId,
  //       accessKeySecret,
  //     });
  //     config.endpoint = endpoint;
  //     this[ALCLIENT] = new Dysmsapi(config);
  //   }
  //   return this[ALCLIENT];
  // },
};
